package com.yfp.operation.mapper;

import com.yfp.operation.domain.MarActivity;
import com.yfp.operation.domain.MarActivityDetails;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
*
* @description 针对表【mar_activity_details(活动子表)】的数据库操作Mapper
* @createDate 2024-07-16 16:11:34
* @Entity domain.com.yfp.operation.MarActivityDetails
*/
public interface MarActivityDetailsMapper extends BaseMapper<MarActivityDetails> {

    /**
     * 新增
     * @param marActivity
     */
    void add(MarActivity marActivity);

    /**
     * 根据活动id获取信息
     * @param marActivityId
     * @return
     */
    MarActivityDetails getByMarActivityId(Long marActivityId);

    /**
     * 修改活动优惠券
     * @param marActivity
     */
    void updateActivityCoupon(MarActivity marActivity);
}




